﻿namespace Finance.Data.Entities
{
	public interface IDocumentProduct : IDataBaseObject
	{
		/// <summary>
		/// Name from joined 'Product'
		/// </summary>
		string ProductName { get; set; }

		/// <summary>
		/// Количество товара
		/// </summary>
		decimal Amount { get; set; }

		/// <summary>
		/// Цена за единицу товара
		/// </summary>
		decimal Price { get; set; }

		/// <summary>
		/// Итоговая цена (Amount * Price * Discount)
		/// </summary>
		decimal TotalPrice { get; set; }

		/// <summary>
		/// Скидка на продукт
		/// </summary>
		decimal Discount { get; set; }
	}
}